package com.swpu.service;

import com.swpu.model.dto.CaptchaResult;
import com.swpu.model.entity.SysUser;
import com.swpu.model.query.UserRegisterQuery;

public interface SysUserService {
    SysUser selectById (String userId);

    CaptchaResult getCaptcha();

    String login(String username, String password);

    void register(UserRegisterQuery userRegisterQuery);

    String refreshToken(String userId);
}
